import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 注入axios
import axios from 'axios';
import VueAxios from 'vue-axios';
// 配置基础路径
// axios.defaults.baseURL=' http://localhost:8080/'
// Vue.use(VueAxios, axios)

// 注入ElementUI组件
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import * as echarts from "echarts"
Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

// import cookie from './util/cookie'
// Vue.prototype.cookie=cookie

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
